feat(files): folders, multiselect, vfs update#4572
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryMedium Risk Overview Refactors several existing endpoints ( Improves UI/accessibility by adding Reviewed by Cursor Bugbot for commit 62393f2. Configure here. |
Greptile SummaryThis PR adds folder support and multiselect to the workspace files UI, introducing a new
Confidence Score: 4/5The change is broadly well-constructed; one route handler maps a new error thrown by the folder-validation helper to the wrong HTTP status code. The register route now passes folderId to registerUploadedWorkspaceFile, which calls assertWorkspaceFileFolderTarget. When the folder has been deleted between the presign and register steps, that helper throws 'Target folder not found' — but the catch block only maps 'not found in storage' to 404, so this new error surfaces as a 500. Every other new route in this PR handles the same error class cleanly. apps/sim/app/api/workspaces/[id]/files/register/route.ts — the catch block needs to cover the new 'Target folder not found' error path introduced by the folder-aware registration flow. Important Files Changed
|
|
@greptile |
|
bugbot run |
|
@greptile |
|
bugbot run |
|
@greptile |
|
bugbot run |
|
bugbot run |
|
@greptile |
|
bugbot run |
|
@greptile |
|
bugbot run |
|
bugbot run |
|
@greptile |
|
bugbot run |
|
@greptile |
|
bugbot run |
|
@greptile |
|
bugbot run |
|
bugbot run |
|
@greptile |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 62393f2. Configure here.
Summary
Add folders, multiselect for files, update VFS to work with this.
Type of Change
Testing
Tested manually
Checklist